<%@ Page  Language="C#" MasterPageFile="~/MasterPage/MasterPage.master"
    AutoEventWireup="true" Inherits="SouthernLand.Photos.Photo" CodeBehind="Photo.aspx.cs" %>

<%@ Register Src="~/Controls/Title.ascx" TagName="Title" TagPrefix="uc" %>
<%@ Register TagPrefix="southern" Namespace="SouthernLand.Common.Untilities" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" runat="Server">
    <uc:Title runat="server" ID="Title" />
    <asp:UpdatePanel ID="UserUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <table border="0" cellpadding="5" cellspacing="0" width="100%" align="center">
                <tr>
                    <td align="center">
                        <asp:Panel runat="server" ID="Panel_ProductByCate">
                            <!-- begin San Pham -->
                            <asp:DataList ID="ItemsDataList" runat="server" Width="100%" RepeatDirection="Horizontal"
                                EnableViewState="False" CellPadding="5" ItemStyle-HorizontalAlign="Center" RepeatColumns="2">
                                <ItemTemplate>
                                    <table border="0" align="left" style="table-layout: fixed;">
                                        <tr>
                                            <td class="BorderImage" width="155" height="155" align="center">
                                                <a href="#">
                                                    <img onmouseover="showtrail('<%=Globals.ApplicationPath %>Photos/Image.ashx?Size=L&ImageUrl=<%# Eval("FileName") %>','<%# Eval("Description")%>',500,500)"
                                                        onmouseout="hidetrail();" border="0" src='<%=Globals.ApplicationPath %>Photos/Image.ashx?Size=M2&ImageUrl=<%# Eval("FileName") %>' />
                                                </a>
                                            </td>
                                        </tr>
                                        <tr height="40">
                                            <td align="center" style="font-weight: bold; color: #5ed3f6">
                                                <a class="ProductName" href="#">
                                                    <%# Eval("Title")%></a>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:DataList>
                            <!-- end San Pham -->
                        </asp:Panel>
                    </td>
                </tr>
            </table>
            <div align="center">
                <asp:Panel ID="DisplayPager" Visible="True" runat="server">
                    <div align="center">
                        <table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
                            <tr>
                                <td valign="middle" align="center">
                                    <southern:Pager ID="Pager" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </asp:Panel>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
